//
//  Data1.m
//  AliBall
//
//  Created by yh on 16/8/12.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "Data1.h"

@implementation Data1
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    } else if ([key isEqualToString:@"action"]) {
        Action1 *ac1 = [Action1 modelWithDic:value];
        _action_objc = ac1;
    } else if ([key isEqualToString:@"albumRightKey"]) {
        AlbumRightKey *ark = [AlbumRightKey modelWithDic:value];
        _albumRightKey_objc = ark;
    }
}
@end
